package com.css.controller;

import com.css.Response;
import com.css.service.IBasAssetsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * -
 * </p>
 *
 * @author css
 * @since 2020/6/30
 */
@RestController
@RequestMapping("/test")
public class TestController {
    @Autowired
    private IBasAssetsService iBasAssetsService;

    @GetMapping
    public Response test() {
        return Response.success().data().put(iBasAssetsService.getUserAssets());
    }

}
